import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [

  {
    path: '/Duty',
    name: 'Duty',
    component: () => import('../views/pages/DutyManagement.vue')
  },  
  {
    path: '/XingJie',
    name: 'XingJie',
    component: () => import('../views/pages/XingJieView.vue')
  },  
  {
    path: '/',
    redirect: '/XingJie',
  },
]

const router = new VueRouter({
  routes
})

export default router
